package com.personal.service;

import com.personal.domain.Individual;
import com.personal.util.partDisplay.IndividualPart;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Transactional
public interface IndividualService {


    List<Individual> selectAll();

    List<IndividualPart> selectPartAll();


    List<IndividualPart> selectPartByKey(String name,String code);

    boolean add(Individual individual);

    Individual getUpdateData(int id);
    boolean update(Individual individual);

    boolean delete(List<Integer> ids);
}